There's a sign above the doors that you are supposed to read.
It tells you to join the sun and the moon to open the doors.